<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<title></title>
	{{HTML::style('public/fontend/css/bootstrap.css')}}
	{{HTML::style('public/fontend/css/style.css')}}
	<style>
	  .carousel-inner > .item > img,
	  .carousel-inner > .item > a > img {
	      width: 70%;
	      margin: auto;
	  }
  	</style>

</head>
<body>
	<div class="container">
		<div class="row">
			<div class="col-sm-12">
				<div class="cart">
					
					<?php

					$cart = Session::get('cart');
					?>
					<img src="{{URL::to('/')}}/public/fontend/img/cart.png"> <span style="color:red">{{count($cart)}}</span> sản phẩm- <a href="{{URL::route('view_cart')}}" class="btn btn-success">Xem giỏ hàng</a>

				</div>
			</div>
			<div class="col-sm-12 top">

				@include("fontend.template.top")

			</div>
		</div>
		<div class="row">
			<div class="col-md-12 leftcate">

		    	@include("fontend.template.slide")

			</div>

			<div class="col-md-12 leftcate">

				<div class="col-sm-3 leftcate">
				    @include("fontend.template.menudoc")
				</div>

			    <div class="col-sm-9">

			    	@if(Session::has("success"))
			    		<div class="warningx wredy">{{Session::get("success")}}</div>
			    	@endif

			    	@if(Session::has("error"))
			    		<div class="warningx wredy">{{Session::get("error")}}</div>
			    	@endif
			    	
			      @yield("content")
			    </div>

			 </div>
		</div>
		<div class="row">
			<div class="col-md-12 leftcate">
		    	day la bottom
			</div>
		</div>
	</div>
	{{HTML::script('public/fontend/js/bootstrap.js')}}
	{{HTML::script('public/fontend/js/jquery.js')}}
	{{HTML::script('public/fontend/js/script.js')}}
	{{HTML::script('public/fontend/js/bootstrap.min.js')}}
</body>
</html>